//
//  HMTestViewController.swift
//  Weibo
//
//  Created by mac on 2017/6/5.
//  Copyright © 2017年 mac. All rights reserved.
//

import UIKit

class HMTestViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
        view.backgroundColor=UIColor.white
        addPushButton()
        
    }
    private func addPushButton(){
        
        navigationItem.rightBarButtonItem=UIBarButtonItem(title: "Push", target: self, action: #selector(pushAction))
        
    }
    @objc private func pushAction(){
        let textVC = HMTestViewController()
        self.navigationController?.pushViewController(textVC, animated: true)
        
    }
    
    
    

}
